from events.tenant_event import tenant_was_created
# from tasks.clean_dataset_task import clean_dataset_task


@tenant_was_created.connect
def handle(sender, **kwargs):
    ...
    # dataset = sender
    # clean_dataset_task.delay(
    #     dataset.id,
    #     dataset.tenant_id,
    #     dataset.indexing_technique,
    #     dataset.index_struct,
    #     dataset.collection_binding_id,
    #     dataset.doc_form,
    # )
